package org.example;

import com.alibaba.fastjson.JSON;
import org.apache.commons.lang3.ClassUtils;
import org.example.po.ApiRPCResult;
import org.example.po.PopCorpClientManagerDto;
import org.example.po.PopErpSkuInfoDto;
import org.example.server.pop.TaskConfig;
import org.example.server.pop.ToErp;
import org.example.server.pop.ToPop;
import org.example.utils.MD5Util;
import org.example.utils.http.RedirectUtil;
import org.springframework.core.ParameterizedTypeReference;
import org.springframework.http.*;
import org.springframework.util.LinkedMultiValueMap;
import org.springframework.util.MultiValueMap;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;


public class Main {
    public static void main(String[] args) {
//        ToPop.popLogin("13930259926", "8573CFB185A7F16040B1801F456E60B0");
        TaskConfig.openTask(	"19850668166","1CF962FDD310A5D3921DBE68FA3E9DA0");

//       ToPop.popLogin("18858768806","A05CD634CF03F343FAD2DAD23C7E973B");
        //订单分拣
        //ToPop.erpCallPop("SH10065830","1790918231024750639","1790918231028940875");
        // 客户信息
//        ToPop.erpToPopCustomer("19138102130","91DF3C6883595F64F972113AB1AD8273");
        //出库信息
//        ToPop.erpToPopOrderDetail("18508474145","0CBB60781BEA28E0225A2D9311845154");
        //商品更新信息
        //ToPop.product_gengxin("15075295631","0E55296823C5F0673475F3E4B3AB7E20");
        //商品全量视图
//        ToPop.product_full("15718858972","1FF163EF0B1168E76069344A9610DA29");
        //商品库存
        //ToPop.erpToPopStock("SH10065830","1790918231024750639","1790918231028940875");
        //商品价格
//        ToPop.erpToPopPrice("15944457887","2BBC8ABC95FC46BF09AB69BBC89EF5AB");
//        ToErp.popClientInfo("17336237049","3E3B710BF88915C8A86962E2A2F1C483");
//        ToErp.popDataFiltering("13739259883","D33425CD13377756ABFAD68E3276C4FA");
//        ToErp.popToOrder("18085085506","65A0EC385CA6A0C1E20D1F8270C28303");


//        ToPop.erpToPopInvoice("18580653939","167BDE1AA0024CAB72BE5127EB4B9E76");
//        ToErp.popDataFiltering("18580653939","167BDE1AA0024CAB72BE5127EB4B9E76");
    }
}